{% extends "Common/AdminBase.html" %}
{% load filters %} 
{% block Location %}

<li class="current" ><a href='/AdminMain/Article/Index/'>文章列表</a></li>
<li>/</li>
<li class="current">软件下载</li>


{% endblock %}


{% block content %}

<link rel="stylesheet" href="/site_media/admin/kindeditor/themes/default/default.css" />
<script charset="utf-8" src="/site_media/admin/kindeditor/kindeditor-min.js"></script>
<script charset="utf-8" src="/site_media/admin/kindeditor/lang/zh_CN.js"></script>
<script type='text/javascript' src='/site_media/admin/My97DatePicker/WdatePicker.js'></script>

<div class="contentcontainer">
	
	<form action="#" AjaxForm="/AdminMain/Article/DoEditJob/" Ajaxverify="$.AjaxFormVerify"    AjaxSuccess="onRefresh">
		<input type="hidden" id="KeyId" name="KeyId" value="{{Model.info.ContentId}}">
    {% include 'AdminMain/Article/ContentBase.html' %}
     <br/>
	      <div class="headings alt">
                <h2>扩展信息</h2>
            </div>
            <div class="contentbox">
            	
				
                   
					<div style="width:100%;float:left">
					<p style="float:left;width:350px">
                        <label for="textfield"><strong>职位</strong></label>
                        <input id="Position" maxlength="30"  name="Position" value="{{Model.news.Position}}" type="text"  maxlength="100" class="inputbox"> 
						<br>
                    </p>
                   
					<p style="float:left;">
                        <label  for="textfield"><strong>招聘人数</strong></label>
                        <input id="RecruitingNumbers" maxlength="20"  name="RecruitingNumbers" value="{{Model.news.RecruitingNumbers}}" type="text" vf_Num="RecruitingNumbers"  value="0" maxlength="100" class="inputbox"> 
						<span  vf_span="RecruitingNumbers"  class="smltxt red"></span>
						<br>
                    </p>
				</div>
				
				 <div style="width:100%;float:left">
					<p style="float:left;width:350px">
                        <label for="textfield"><strong>工资</strong></label>
                        <input id="Salary" maxlength="30"  name="Salary" value="{{Model.news.Salary}}"  type="text"  maxlength="100" class="inputbox"> 
						<br>
                    </p>
                   
					<p style="float:left;">
                        <label  for="textfield"><strong>工作地点</strong></label>
                        <input id="Place" maxlength="30"  name="Place" type="text" value="{{Model.news.Place}}"    maxlength="100" class="inputbox"> 
						<br>
                    </p>
				</div>
				
				<div style="width:100%;float:left">
					<p style="float:left;width:350px">
                        <label for="textfield"><strong>联系电话</strong></label>
                        <input id="Phone" maxlength="20"  name="Phone"  value="{{Model.news.Phone}}"    type="text"  maxlength="100" class="inputbox"> 
						<br>
                    </p>
				</div>
				
				<div style="width:100%;float:left">
					<p style="float:left;">
                        <label for="textfield"><strong>职责</strong></label>
						<textarea class="inputbox" alt="职责" name="Duty"   v_maxlength="500"  rows="5" cols="150" style="margin-left: 0px; margin-right: 0px; width: 651px; " >{{Model.news.Duty}}</textarea>
						<span  vf_span="Duty"  class="smltxt red"></span>
						
						<br>
                    </p>
				</div>
				<div style="width:100%;float:left">
					<p style="float:left;">
                        <label for="textfield"><strong>说明</strong></label>
						<textarea class="inputbox" alt="说明" name="Require" v_maxlength="500"  rows="5" cols="150" style="margin-left: 0px; margin-right: 0px; width: 651px; " >{{Model.news.Require}}</textarea>
						<span  vf_span="Require"  class="smltxt red"></span>
						<br>
                    </p>
				</div>
				
				
				
				<div style="width:100%;float:left">
					<p style="float:left;">
							 <input type="submit"  value="发表" onclick="saveOut()" class="btn"> 
							 <input type="submit"  value="发表并继续" onclick="saveIn()" class="btn">
							 <input type="submit"  value="保存到草稿" onclick="savecg()" class="btn">
                    </p>
				</div>
				<input type="hidden" name="State" id="State" value="1">
	   </div>
	   
	 </form>
        </div>
		

<script>
	var outlocd="";
	
function saveOut()
{
	$("#State").val("1");
	outlocd="/AdminMain/Article/Index/"
}

function saveIn()
{
	$("#State").val("1");
	outlocd=window.location;
}

function savecg()
{
	$("#State").val("3");
	outlocd="/AdminMain/Article/Index/"
}

function OnChange()
{
	
}
function onRefresh(obj)
{
	$.tips(obj.ErrorTxt);
	window.location=outlocd;
}
</script>
          
    
		
{% endblock %}

